package projecteuler;


import java.math.BigInteger;

/**
 *
 * @author ChunchO
 */
public class Problem020 {
    public static void main(String[] args) {
        // TODO code application logic here
		int sum = 0;
		BigInteger number = BigInteger.ONE;
		for(int i = 1;i<=100;i++)
			number = number.multiply(BigInteger.valueOf((long)i));
		String s = number.toString();
		System.out.println( s.length());
		for(int i = 0;i<s.length();i++)
			sum += (((int)s.charAt(i))-((int)'0'));
		System.out.println( sum);
    }
}
